Release 10.1A: OpenEdge Development:
Web Services


Web service description

MultiDatatypes( ) copies a set of value-format pairs packaged as a complex type to an output parameter that contains the values formatted using the corresponding formats, also packaged as a complex type.

Table 13–1 shows some of the formats that SOAP requires to format the XML Schema data types handled by this operation.

Table 13–1: DatatypeFormats sample application—example formats 
Data type
Example formats
boolean 
true, false, 1, 0 
datetime 
9999-99-99THH:MM:SS.SSS+HH:MM 
duration 
P99Y99M99DT99H99M99S 
gDay 
---DD 
gMonth 
--MM-- 
gMonthDay 
--MM-DD 
gYear 
YYYY 
gYearMonth 
YYYY-MM 

The complex type input parameter passed to MultiDatatypes( ) contains the simple type parameters shown in Table 13–2.

Table 13–2: DatatypeFormats sample application—input parameters 
Parameter
simple type
Parameter name
boolean  
paramIn1 
batetime  
paramIn2 
duration 
paramIn3 
gDay 
paramIn4 
gMonth 
paramIn5 
gMonthDay 
paramIn6 
gYear 
paramIn7 
gYearMonth 
paramIn8 

The complex type output parameter passed to MultiDatatypes( ) contains the simple type parameters shown in Table 13–3.

Table 13–3: DatatypeFormats sample application—output parameters 
Parameter
simple type
Parameter name
boolean  
paramIn1 
batetime  
paramIn2 
duration 
paramIn3 
gDay 
paramIn4 
gMonth 
paramIn5 
gMonthDay 
paramIn6 
gYear 
paramIn7 
gYearMonth 
paramIn8 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095